<?php

namespace App\Models\Assets;

use App\Models\BaseModel;
use Carbon\Carbon;

class PortfolioSnapshotsModel extends BaseModel
{
    protected $table = 'portfolio_snapshots';

    protected $fillable = [
        'user_id',
    ];

    public static function init()
    {
        return collect([
            'total_value' => 0,
            'value' => 0,
            'created_at' => Carbon::now()->timestamp,
            'updated_at' => Carbon::now()->timestamp,
        ]);
    }
}
